/**
 * @(#)OrderCartService.java, 2018/2/12.
 * <p/>
 * Copyright 2018 Kerr Wang, Inc. All rights reserved.
 * KERRWANG PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package org.wangzx.exercise.service.basic;

import org.wangzx.exercise.meta.vo.AccountVO;
import org.wangzx.exercise.meta.vo.CartVO;
import org.wangzx.exercise.meta.vo.ItemVO;

import java.util.List;

/**
 * @author hzwangzuxiang(ahscwzx@163.com)
 */
public interface OrderCartService {
    public boolean insert(ItemVO itemVO, long buyerId);

    public List<CartVO> getCart(long buyerId);

    public boolean addOrder(List<CartVO> list, long buyerId);

    public List<AccountVO> getAccountList(long buyerId);
}
